package com.itibo.models;

import java.io.File;


public abstract class Document {
    public String getFile() {
        return file;
    }

    String file;
    byte[] bytes;
    protected StringBuilder body;

    public Document(){

    }
    public Document(String file) {
        super();
        this.file = file;
    }

    public Document(byte[] bytes) {
        super();
        this.bytes = bytes;
    }

    public String getBody(){
        return body.toString();
    }

    public abstract String[] readObject();
    public abstract void writeObject(String[] obj);
}
